<template>
  <nav class="nav bgw">
    <a class="historyBack" @click="goBack"></a>
    <slot></slot>
  </nav>
</template>

<script>
  export default {
    name: 'vnav',
    methods: {
      goBack () {
        window.history.go(-1);
      }
    }
  };
</script>
